﻿<Window x:Class="TournamentOrganizerWPF.AddPlayerWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="AddPlayer" Height="260.114" Width="458.209">
    <Grid>
        <Label BorderThickness="2" BorderBrush="black"  FontSize="16" Name="pLayerName" Content="Player Name" HorizontalAlignment="Left" Margin="12,67,0,0" VerticalAlignment="Top" Width="203"/>
        <Label BorderThickness="2" BorderBrush="black" FontSize="16" Name="playerLocation" Content="Player Location" HorizontalAlignment="Left" Margin="245,67,0,0" VerticalAlignment="Top" Width="195" RenderTransformOrigin="-0.106,-0.075" Height="35"/>
        <TextBox Name="playerName" FontSize="16" HorizontalAlignment="Left" Height="32" Margin="10,128,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="203"/>
        <Button Click="AddPlayerToList" FontSize="18" Content="Add Player" HorizontalAlignment="Left" Margin="12,180,0,0" VerticalAlignment="Top" Width="428" Height="38"/>
        <ComboBox ItemsSource="{Binding locations}" Name="locations" HorizontalAlignment="Left" Margin="243,128,0,0" VerticalAlignment="Top" Width="195" Height="32"/>
        <Label Name="warningLabel" BorderThickness="2" BorderBrush="Black" Content="" HorizontalAlignment="Left" Margin="12,10,0,0" VerticalAlignment="Top" Width="426" Height="40" RenderTransformOrigin="0.508,-0.286"/>

    </Grid>
</Window>
